projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bccce0
)
* character.c (string_escape_byte8): Fix nbytes/nchars typo.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 7 Jun 2011 06:09:32 +0000
(23:09 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 7 Jun 2011 06:09:32 +0000
(23:09 -0700)
src/ChangeLog
patch
|
blob
|
history
src/character.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 6d163f56c1e2340eb2a649130d6ebee6b47829eb..b05b3603c0db6b0a13c488ef6d49ab9004f94df2 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2011-06-07 Paul Eggert <eggert@cs.ucla.edu>
+ * character.c (string_escape_byte8): Fix nbytes/nchars typo.
+
* alloc.c (Fmake_string): Check for out-of-range init.
2011-06-07 Daniel Colascione <dan.colascione@gmail.com>
diff --git
a/src/character.c
b/src/character.c
index 170952619e7ad49e95c35f395adcdf8322a6cf96..fe8be7084f00c26378dd09388a81c3f49bf14c89 100644
(file)
--- a/
src/character.c
+++ b/
src/character.c
@@
-847,7
+847,7
@@
string_escape_byte8 (Lisp_Object string)
}
else
{
- if ((STRING_BYTES_MAX - n
char
s) / 3 < byte8_count)
+ if ((STRING_BYTES_MAX - n
byte
s) / 3 < byte8_count)
string_overflow ();
/* Convert 1-byte sequence of byte8 chars to 4-byte octal. */